<? if(!defined('IN_ROOT')) exit('Access Denied'); include template('pifaleft'); ?>
<!-- form--->
<div class="rightmenu">  
<div class="pprice"><h3>线路管理</h3><h4></h4></div>
<div  class="tabprice">
  <ul style="background-color:#f9fafe;">
    <li class="tw20">&nbsp;&nbsp;</li>
    <li class="tw100">产品编号</li>
    <li class="tw300">线路名称</li>
    <li class="tw80 ">出发城市</li>
    <li class="tw80 ">发布日期</li>
    <li class="tw80 ">操作</li>
      </ul>


  <!-- start -->
  
<? if(is_array($linelist)) { foreach($linelist as $value) { ?>
  <ul class="bod1_bot">
    <li class="tw20 inputclearboth">
      <!-- <input type="checkbox" name="checkbox2" id="checkbox" /> -->
        </li>
    <li class="tw100"><? if($value['idcode']) { ?><?=$value['idcode']?><? } else { ?><?=$value['id']?><? } ?></li>
    <li class="tw300"><?=$value['title']?></li>
    <li class="tw80 "><?=$value['city']?></li>
    <li class="tw80 "><? $time=date('Y-m-d', $value['addtime']);echo $time; ?></li>
    <li class="tw80 ">
    <a href="?line/delete/<?=$value['id']?>" onclick="return DelConfirm()">删除</a> 
    <a href="?line/pifalineedit/<?=$value['id']?>">编辑</a></li>
      </ul>
      
<? } } ?>
  <!-- end -->
  </div>
  <div class="tedit inputclearboth">  <!-- <input type="checkbox" name="checkbox3" id="checkbox2" /> 
    全选 <img src="images/ref.gif" width="50" height="25" /> <img src="images/close.gif" width="50" height="25" /> <img src="images/del.gif" width="50" height="25" /> --></div>
   <div class="page">首页 <a href="#">上一页</a> <a href="#">下一页</a> 尾页 (第1页，共27页，共265条记录，每页10行)</div>
</div>
<? include template('footer'); ?>
